import request from '@/utils/request'

// 菜单列表
export function apiMenuLists(params: any) {
    return request.get({ url: '/menu/lists', params })
}

// 添加菜单
export function apiMenuAdd(params: any) {
    return request.post({ url: '/menu/add', params })
}

// 编辑菜单
export function apiMenuEdit(params: any) {
    return request.post({ url: '/menu/edit', params })
}

// 删除菜单
export function apiMenuDelete(params: any) {
    return request.post({ url: '/menu/delete', params })
}

// 菜单详情
export function apiMenuDetail(params: any) {
    return request.get({ url: '/menu/detail', params })
}